import { createApp, defineAsyncComponent } from 'vue'
import { createPinia } from 'pinia';
import App from './App.vue'
import ElementPlus from 'element-plus';
import router from './router';
import 'element-plus/dist/index.css'
import './style.css'

const app = createApp(App);
app.use(createPinia());
app.use(router);
app.use(ElementPlus);
app.component('Box', defineAsyncComponent(() => import('@com1/Box.vue')));
app.mount('#app');